/**
 * 信计团队
 * @version 1.0
 * 网址：http://www.huas.cn
 * E-mail：xieqingcheng@126.com
 * Copyright 2011 Hunan University of Arts and Science
 */
package cn.huas.model;

import java.util.Set;


/**
 * Classroom entity. 
 * 教室实体
 * @author xie
 * Jun 25,2011
 */
@SuppressWarnings("unchecked")
public class Classroom  implements java.io.Serializable {


    /**
	 * 
	 */
	private static final long serialVersionUID = -8903319664522429092L;
	// Fields    

     private Integer id;
     private Teachingbuilding teachingbuilding;
     private Integer code;
     private String name;
     private String type;
     private String number;
     private String sysFlag;
     private Integer paike_count;
	//private Set courseRClassrooms = new HashSet(0);

    // Constructors

    public Integer getPaike_count() {
		return paike_count;
	}

	public void setPaike_count(Integer paikeCount) {
		paike_count = paikeCount;
	}

	/** default constructor */
    public Classroom() {
    }

	/** minimal constructor */
    public Classroom(Teachingbuilding teachingbuilding, String sysFlag) {
        this.teachingbuilding = teachingbuilding;
        this.sysFlag = sysFlag;
    }
    
    /** full constructor */
    public Classroom(Teachingbuilding teachingbuilding, Integer code, String name, String type, String number, String sysFlag, Set courseRClassrooms) {
        this.teachingbuilding = teachingbuilding;
        this.code = code;
        this.name = name;
        this.type = type;
        this.number = number;
        this.sysFlag = sysFlag;
  //      this.courseRClassrooms = courseRClassrooms;
    }

   
    // Property accessors


    public Teachingbuilding getTeachingbuilding() {
        return this.teachingbuilding;
    }
    
    public void setTeachingbuilding(Teachingbuilding teachingbuilding) {
        this.teachingbuilding = teachingbuilding;
    }


    public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}


	public String getSysFlag() {
		return sysFlag;
	}

	public void setSysFlag(String sysFlag) {
		this.sysFlag = sysFlag;
	}

//	public Set getCourseRClassrooms() {
//        return this.courseRClassrooms;
//    }
//    
//    public void setCourseRClassrooms(Set courseRClassrooms) {
//        this.courseRClassrooms = courseRClassrooms;
//    }
//   


}